package com.work.service;

import com.github.pagehelper.PageInfo;
import com.work.pojo.Goods;

import java.util.List;

public interface GoodsService {
    void addGoods(Goods goods);

    List<Goods> getGoodsList();


    PageInfo getGoodsListByTypeId(int typeId, Integer pageNum, Integer pageSize);

    Goods getGoods(Integer id);
}
